package net.sudot.chess.business.model;


import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import javax.persistence.Entity;
import java.math.BigDecimal;

/**
 * 客户等级
 * <pre>
 *     其中排序字段order数字越小,表示此等级越低
 * </pre>
 *
 * @author tangjialin on 2018-03-17.
 */
@Getter
@Setter
@Accessors(chain = true)
@Entity
public class CustomerRank extends BaseOrderedEntity<CustomerRank> {

    /** 名称 */
    private String name;
    /** 到到此等级所需的押金金额 */
    private BigDecimal deposit;
    /** 是否默认 */
    private Boolean isDefault;

}
